/**
 * 
 */
package com.planner.core.service.core.stop;

import java.util.List;

import com.india.StopNode;
import com.planner.core.dao.NodeNotFoundException;
import com.planner.core.service.core.BaseService;
import com.planner.core.service.rest.vo.Stop;

/**
 * @author Sangharsh
 *
 */
public interface StopService extends BaseService {
	public List<StopNode> getAllNodes();
	public void add(StopNode node);
	public void addAll(List<StopNode> nodes);
	public StopNode getNode(long id) throws NodeNotFoundException;
	public StopNode getNode(String code) throws NodeNotFoundException;
	public void updateNode(StopNode node);
	public void deleteNode(long id);
	public List<Stop> getAllStops();
}
